package com.example.pharmacy.service;

import com.example.pharmacy.mapper.UserHistoryOrderMapper;
import com.example.pharmacy.model.UserHistoryOrder;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: asus
 * Date: 2024-12-21
 * Time: 22:06
 */
@Service
public class UserHistoryOrderService {
    @Autowired
    private UserHistoryOrderMapper userHistoryOrderMapper;
    public List<UserHistoryOrder> selectByOrderId(Integer orderId) {
        return userHistoryOrderMapper.selectByOrderId(orderId);
    }
}
